package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/12
*/
@Data
@ApiModel("1.0 时主要用在执行存储过程时记录库存的变化，保留此表")
@Table(name = "tbl_purchase_order_detail_quantity_log")
@NoArgsConstructor
@AllArgsConstructor
public class TblPurchaseOrderDetailQuantityLog extends BaseEntity {
    @Column(name = "order_detail_id")
    private String orderDetailId;

    @Column(name = "booking_id")
    private String bookingId;

    /**
     * 修改前数量
     */
    @Column(name = "quantity_before")
    @ApiModelProperty("修改前数量")
    private Integer quantityBefore;

    /**
     * 修改后数量
     */
    @Column(name = "quantity_after")
    @ApiModelProperty("修改后数量")
    private Integer quantityAfter;

    /**
     * 保留
     */
    @Column(name = "stored_procedure")
    @ApiModelProperty("保留")
    private String storedProcedure;

    /**
     * Todo
     */
    @Column(name = "action_id")
    @ApiModelProperty("Todo")
    private Integer actionId;
}